package com.itheima_06;

public class StudentDemo {
    public static void main(String[] args) {
        Student s = new Student();
        s.setName("阿良");
        s.setAge(24);
        s.show();
        System.out.println(s.getName() + "--" + s.getAge());

        System.out.println("---------");
        Student s1 = new Student("陈平安",18);
        s1.show();
        System.out.println(s1.getName() + "--" + s1.getAge());
    }
}
